package com.diandi.messages.tools;

/**
 * Created by Administrator on 2017/6/30.
 */
public class CreateTradeNo {
    public static String createTradeNo(String type) {
        String date = DateUtil.getNumberDateTime18();
        double rand = Math.random();
        String str = String.valueOf(rand).replace(".", "");
        return type + date + str.substring(0, 11);
    }
}
